#ifndef EXPRESSION_H
#define EXPRESSION_H

#include "constante.h"
#include <string>

using namespace std;

class Expression : public Constante{
    std::string str;
public:
    Expression(const string&);

    Constante* operator+(const Constante&)const;
    Constante* operator*(const Constante&)const;
    Constante* operator-(const Constante&)const;
    Constante* operator/(const Constante&)const;
    Constante* operator-()const;
    std::string print()const;
    std::string getStr()const{return str;};
};

#endif // EXPRESSION_H
